package com.zrrd.fuxi._02_set;

import java.util.TreeSet;

/**
 * @author WanJl
 * @version 1.0
 * @title Demo04
 * @description
 * @create 2023/11/26 9:32
 */
public class Demo04 {
    public static void main(String[] args) {
        TreeSet<String> set=new TreeSet<>();
        set.add("zs");
        set.add("wu");
        set.add("ls");
        set.add("zs");
        set.forEach(System.out::println);
    }
}
